public class Test {
    public static void main(String args[]) {
        int[] a = { 1, 2, 3, 4, 5 };
        int s = 1;
        for (int c : a)
            s *= c;
        System.out.print(s);
    }
}